// src/stores/StoreProvider.tsx
import React from 'react';
import { rootStore } from './RootStore';
import { StoresContext } from './StoresContext';

export const StoreProvider: React.FC<React.PropsWithChildren> = ({
  children,
}) => (
  <StoresContext.Provider value={rootStore}>{children}</StoresContext.Provider>
);
